﻿using Common;
using Quartz;
using System.Security.Cryptography.X509Certificates;

namespace QuartzJob
{
    public class ICeshiJob : IJob
    {
        private readonly Ilog4netHelper ilog4NetHelper;
        public ICeshiJob(Ilog4netHelper ilog4NetHelper)
        {
            this.ilog4NetHelper = ilog4NetHelper;
        }
        public Task Execute(IJobExecutionContext context)
        {

            return Task.Run(() =>
            {
                ilog4NetHelper.Info(DateTime.Now.ToString("1号定时任务" + "yyyy-MM-dd HH:mm:ss:fff"));
            });
        }
    }
}
